package edu.xidian.bdilab.jrbigdata.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName(value = "enterprise_req")
@Data
public class EnterpriseReq {

    /**
     *15位的自增字段，唯一标识一条记录
     */
    @TableId(value = "requirement_id", type = IdType.AUTO)
    private int requirementId;

    /**
     *统一社会信用代码，18位阿拉伯数字或大写英文字母
     */
    private String fkSocialCode;

    /**
     *企业名称
     */
    private String enterpriseName;

    /**
     *贷款额度（单位：万元）
     * 0-100万及以下
     * 1-200万及以下
     * 2-300万及以下
     * 3-500万及以下
     * 4-1000万及以下
     * 5-1000万以上
     */
    private int loanLimit;

    /**
     *利率下限（单位%）
     */
    private double rateLowerLimit;

    /**
     *利率上限（单位%）
     */
    private double rateUpperLimit;

    /**
     *贷款期限（单位：月）
     */
    private int loanPeriod;

    /**
     *担保方式
     * 0-抵押
     * 1-信保基金
     * 2-一般保证
     * 3-信用
     * 4-实际控制人夫妇提供个人连带担保
     */
    private int guaranteeMode;

    /**
     * 贷款用途
     */
    private String financingPurposes;

    /**
     *项目情况
     */
    private String projectSituation;

    /**
     *备注
     */
    private String remark;

    /**
     * 是否为公开需求，0公开1非公开
     */
    private int isPublic;

    public int getRequirementId() { return requirementId; }

    public void setRequirementId(int requirementId) { this.requirementId = requirementId; }

    public String getFkSocialCode() { return fkSocialCode; }

    public void setFkSocialCode(String fkSocialCode) { this.fkSocialCode = fkSocialCode; }

    public String getEnterpriseName() { return enterpriseName; }

    public void setEnterpriseName(String enterpriseName) { this.enterpriseName = enterpriseName; }

    public int getLoanLimit() { return loanLimit; }

    public void setLoanLimit(int loanLimit) { this.loanLimit = loanLimit; }

    public double getRateLowerLimit() { return rateLowerLimit; }

    public void setRateLowerLimit(double rateLowerLimit) { this.rateLowerLimit = rateLowerLimit; }

    public double getRateUpperLimit() { return rateUpperLimit; }

    public void setRateUpperLimit(double rateUpperLimit) { this.rateUpperLimit = rateUpperLimit; }

    public int getLoanPeriod() { return loanPeriod; }

    public void setLoanPeriod(int loanPeriod) { this.loanPeriod = loanPeriod; }

    public int getGuaranteeMode() { return guaranteeMode; }

    public void setGuaranteeMode(int guaranteeMode) { this.guaranteeMode = guaranteeMode; }

    public String getFinancingPurposes() { return financingPurposes; }

    public void setFinancingPurposes(String financingPurposes) { this.financingPurposes = financingPurposes; }

    public String getProjectSituation() { return projectSituation; }

    public void setProjectSituation(String projectSituation) { this.projectSituation = projectSituation; }

    public String getRemark() { return remark; }

    public void setRemark(String remark) { this.remark = remark; }

    public void setIsPublic(Integer isPublic) {


    }

    public void setIsPublic(int isPublic) {
        this.isPublic = isPublic;
    }
}
